import React from 'react';
import { Link} from 'react-router-dom';
export default class Home extends React.Component{
    render() {
        return (
           
                <div>
                  
               <ul>
                   <li><Link to='/main'>Main1</Link></li>
                   <li><Link to='/about'>About</Link></li>
                   <li><Link to='/Topic'>Topic</Link></li>
                   <li><Link to='/imooc'>imooc</Link></li>
               </ul>
                {this.props.children}
                </div>
           
        )
    }
}
